package cn.zhou.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @Description:
 * @Author: zhou
 * @Date: Create in 21:03 2020/7/21
 */
public interface LoadBalancer {

    //instances()方法：从List<ServiceInstance>得到一个ServiceInstance微服务实例对象
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}
